/* 页面请求参数 */
export interface ParamsType {
  pageIndex?: number;
  pageSize?: number;
  keywords?: string;
  cityCode?: number;
  areaCode?: number;
  accountStatus?: number;
}

/**
 * 专户信息
 */
export interface ProjectAccount {
  id?: number;
  //项目名称
  prjName: string;
  //项目编号
  prjNum: string;
  /// <summary>
  /// 流水号
  ///</summary>
  serialNumber: string;
  /// <summary>
  /// 项目ID
  ///</summary>
  projectId: number;
  /// <summary>
  /// 账户名称
  ///</summary>
  username: string;

  /// <summary>
  /// 申请日期
  ///</summary>
  createTime: Date;

  /// <summary>
  /// 开户日期
  ///</summary>
  openDate: Date;
  /// <summary>
  /// 开户银行
  ///</summary>
  bankType: string;
  /// <summary>
  /// 开户人
  ///</summary>
  creator?: string;
  /// <summary>
  /// 银行账号
  ///</summary>
  bankNo?: string;
  /// <summary>
  /// 开户地址
  ///</summary>
  bankAddress?: string;
  /// <summary>
  /// 银行是否对账户设置特殊标识(0否,1是)
  ///</summary>
  bankMark: boolean;
  /// <summary>
  /// 工资专户余额(元)
  ///</summary>
  balance: number;
  /// <summary>
  /// 账户状态(1 待验证, 2 正常,3 补办,4 挂失,5 注销,6 冻结,7 其他)
  /// 默认值: 1
  ///</summary>
  accountStatus: number;
  /// <summary>
  /// 账户状态
  ///</summary>
  accountStatusName: string;
  /// <summary>
  /// 审核状态(1 未审核, 2 审核失败,3 审核成功)
  /// 默认值: 1
  ///</summary>
  checkStatus: number;
  /// <summary>
  /// 账户状态
  ///</summary>
  checkStatusName: string;
  /// <summary>
  /// 审核原因
  ///</summary>
  checkReason?: string;
  /// <summary>
  /// 开户审核人
  ///</summary>
  checker?: string;
  /// <summary>
  /// 开户审核日期
  ///</summary>
  checkDate?: Date;
  /// <summary>
  /// 修改状态操作人
  ///</summary>
  operator?: string;
  /// <summary>
  /// 修改状态日期
  ///</summary>
  operationTime?: Date;
  /// <summary>
  /// 修改状态原因
  ///</summary>
  operationReason?: string;
}
/**收支信息 */
export interface ProjectSpecialAccountPayment {
  /// <summary>
  ///
  ///</summary>
  id: number;
  /// <summary>
  /// 流水号
  ///</summary>
  serialNumber: string;
  /// <summary>
  /// 项目ID
  ///</summary>
  projectId: number;
  /// <summary>
  /// 银行流水号
  ///</summary>
  bankSerialNumber: string;
  /// <summary>
  /// 收支类型(1：进账 2: 出账)
  ///</summary>
  incomeType: number;
  /// <summary>
  /// 收支类型
  /// </summary>
  incomeTypeName: string;
  /// <summary>
  /// 交易类型（100：资金入账 102：代发工资 103：计息 104：手续费 105：其他）
  ///</summary>
  tradeType: number;
  /// <summary>
  /// 交易类型
  /// </summary>
  tradeTypeName: string;
  /// <summary>
  /// 账户名称
  ///</summary>
  accountName: string;
  /// <summary>
  /// 银行账号
  ///</summary>
  bankNo: string;
  /// <summary>
  /// 对方户名
  ///</summary>
  oppositeName: string;
  /// <summary>
  /// 对方账户
  ///</summary>
  oppositeAccount: string;
  /// <summary>
  /// 收支金额
  ///</summary>
  amount: number;
  /// <summary>
  /// 余额
  ///</summary>
  balance: number;
  /// <summary>
  /// 收支日期
  ///</summary>
  createTime: Date;
}
/**支付明细 */
export interface ProjectSpecialAccountPaymentDetails {
  id: number;
  /// <summary>
  /// 项目名称
  /// </summary>
  prjName: string;
  /// <summary>
  /// 项目编号
  /// </summary>
  prjNum: string;
  /// <summary>
  /// 流水号
  ///</summary>
  serialNumber: string;
  /// <summary>
  /// 项目ID
  ///</summary>
  projectId: number;
  /// <summary>
  /// 银行流水号
  ///</summary>
  bankSerialNumber: string;
  /// <summary>
  /// 银行账号
  ///</summary>
  bankNo: string;
  /// <summary>
  /// 务工人员身份证号
  ///</summary>
  idNumber: string;
  /// <summary>
  /// 务工人员姓名
  ///</summary>
  username: string;
  /// <summary>
  /// 工资所属年月
  ///</summary>
  wageDate: Date;
  /// <summary>
  /// 应发工资
  ///</summary>
  payable: number;
  /// <summary>
  /// 实发工资
  ///</summary>
  reality: number;
  /// <summary>
  /// 扣发工资
  ///</summary>
  deduct: number;
  /// <summary>
  /// 支付方式(1：银行卡 2：现金 3：社会保障卡 4：其他)
  ///</summary>
  paymentMethod: number;
  /// <summary>
  /// 支付方式
  ///</summary>
  paymentMethodName: string;
  /// <summary>
  /// 付款日期
  ///</summary>
  paymentDate: Date;
}

/**
 * 审批专户表单
 */
export interface ProjectAccountExamineForm {
  /**
   * id
   */
  id?: number;

  /// <summary>
  /// 银行账号
  ///</summary>

  bankNo?: string;
  /// <summary>
  /// 银行是否对账户设置特殊标识
  ///</summary>

  bankMark?: boolean;
  /// <summary>
  /// 工资专户余额(万元)
  ///</summary>

  balance: number;
  /// <summary>
  /// 开户地址
  ///</summary>
  bankAddress?: string;

  /// <summary>
  /// 审核状态(1 未审核, 2 审核失败,3 审核成功)
  /// 默认值: 1
  ///</summary>
  checkStatus?: number;

  /// <summary>
  /// 审批意见原因说明
  ///</summary>
  checkReason: string;

  //审核集合
  checkStatusList: Array<number>;
}

/**
 * 修改专户状态表单
 */
export interface ProjectAccountStatusForm {
  /**
   * id
   */
  id?: number;

  /// <summary>
  /// 账户状态(1 待验证, 2 正常,3 补办,4 挂失,5 注销,6 冻结,7 其他)
  /// 默认值: 1
  ///</summary>
  accountStatus: number;

  /// <summary>
  /// 操作原因说明
  ///</summary>
  operationReason: string;

  /// <summary>
  /// 账户状态集合
  ///</summary>
  accountStatusList: Array<number>;
}

/**
 * 专户支付明细表单
 */
export interface ProjectSpecialAccountPaymentDetailsEditForm {
  /**
   * id
   */
  id?: number;
  /// <summary>
  /// 流水号
  ///</summary>
  serialNumber: string;
  /// <summary>
  /// 项目ID
  ///</summary>
  projectId: number;

  /// <summary>
  /// 项目名称
  ///</summary>
  prjName: string;

  /// <summary>
  /// 项目编号
  ///</summary>
  prjNum: string;

  /// <summary>
  /// 银行流水号
  ///</summary>
  bankSerialNumber: string;
  /// <summary>
  /// 银行账号
  ///</summary>
  bankNo: string;
  /// <summary>
  /// 务工人员身份证号
  ///</summary>
  idNumber: string;
  /// <summary>
  /// 务工人员姓名
  ///</summary>
  username: string;
  /// <summary>
  /// 工资所属年月
  ///</summary>
  wageDate?: Date;
  /// <summary>
  /// 应发工资
  ///</summary>
  payable: number;
  /// <summary>
  /// 实发工资
  ///</summary>
  reality: number;
  /// <summary>
  /// 扣发工资
  ///</summary>
  deduct: number;
  /// <summary>
  /// 支付方式(1：银行卡 2：现金 3：社会保障卡 4：其他)
  ///</summary>
  paymentMethod?: number;

  /// <summary>
  /// 付款日期
  ///</summary>
  paymentDate?: Date;
}

/**
 * 专户收支信息表单
 */
export interface ProjectSpecialAccountPaymentEditForm {
  /**
   * id
   */
  id?: number;

  /// <summary>
  /// 流水号
  ///</summary>
  serialNumber: string;
  /// <summary>
  /// 项目ID
  /// </summary>
  projectId: number;

  /// <summary>
  /// 项目名称
  ///</summary>
  prjName: string;

  /// <summary>
  /// 项目编号
  ///</summary>
  prjNum: string;
  /// <summary>
  /// 银行流水号
  ///</summary>
  bankSerialNumber: string;
  /// <summary>
  /// 收支类型
  ///</summary>
  incomeType?: number;
  /// <summary>
  /// 交易类型
  ///</summary>

  tradeType?: number;
  /// <summary>
  /// 账户名称
  ///</summary>

  accountName: string;

  /// <summary>
  /// 银行账号
  ///</summary>

  bankNo: string;
  /// <summary>
  /// 对方户名
  ///</summary>

  oppositeName: string;
  /// <summary>
  /// 对方账户
  ///</summary>

  oppositeAccount: string;
  /// <summary>
  /// 收支金额
  ///</summary>
  amount: number;
  /// <summary>
  /// 余额
  ///</summary>
  balance: number;
  /// <summary>
  /// 收支日期
  ///</summary>
  createTime?: Date;
}
